package bank;

import framework.account.IAccount;


public class BankService {

    public static void sendEmail(IAccount account) {
        System.out.println("=====System is sending email to " + account.getCustomer().getEmail()+"=====");
        System.out.print("\nAccount number:" + account.getAccountNo());
        System.out.print("\nCustomer type:" + account.getCustomer().getType());
        System.out.print("\nCurrent Balance:" + account.getBalance());
    }

    public static void print(String message) {
        System.out.println(message);
    }

}
